@echo off
for /r %%i in (*.*) do (echo %%i>list1.txt)